package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

/**
 * 群英争霸 结果
 */
@FieldTypeAnnotation(tableName = "t_l_ck_unionwar_activity_result", desc = "群英争霸_结果", autoSave = true, uploadCk = true, isCross = true)
public class LogUnionWarActivityResult extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "场次 1:积分赛；2：决赛")
    private int phase;

    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;

    @FieldTypeAnnotation(desc = "区服id")
    private long serverId;

    @FieldTypeAnnotation(desc = "1:冠军/亚军；2：竞猜")
    private int type;

    @FieldTypeAnnotation(desc = "排名")
    private int rankNum;

    @FieldTypeAnnotation(desc = "分组")
    private int groupId;

    public LogUnionWarActivityResult(int activityId, int phase, String unionUid, int type, int rankNum, int groupId) {
        this.activityId = activityId;
        this.phase = phase;
        this.unionUid = unionUid;
        this.type = type;
        this.rankNum = rankNum;
        this.groupId = groupId;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
